package com.lswms.modules.lswms.entity.stock;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lswms.common.entity.LswmsBaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.joda.time.DateTime;

/**
 * 属性
 *
 * @author DX sunlightcs@gmail.com
 * @since 1.0.0 2021-06-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("lswms_inventory")
public class InventoryEntity extends LswmsBaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 批号
	 */
	@TableField(value = "lot")
	private String lot;
	/**
	 * 商品编码
	 */
	@TableField(value = "sku")
	private String sku;
	/**
	 * 库位编码
	 */
	@TableField(value = "location")
	private String location;
	/**
	 * 托盘
	 */
	@TableField(value = "tray")
	private String tray;
	/**
	 * 箱
	 */
	@TableField(value = "box")
	private String box;
	/**
	 * 数量
	 */
	@TableField(value = "qty")
	private BigDecimal qty;
	/**
	 * 分配量
	 */
	@TableField(value = "pickqty")
	private BigDecimal pickqty;
	/**
	 * 待上架量
	 */
	@TableField(value = "putqty")
	private BigDecimal putqty;
	/**
	 * 状态
	 */
	@TableField(value = "status")
	private Integer status;
	/**
	 * 备注
	 */
	@TableField(value = "remark")
	private String remark;

	@TableField(value = "receiptkey")
	private String receiptkey;


	/**
	 * 商品名称
	 */
	@TableField(exist = false)
	private String descr;
	
	@TableField(exist = false)
	private String factorycdoe;

	@TableField(exist = false)
	private String boxstr;

	@TableField(exist = false)
	private Date lot1;

	@TableField(exist = false)
	private Date lot2;

	@TableField(exist = false)
	private String lot3;

	@TableField(exist = false)
	private String lot4;

	@TableField(exist = false)
	private String lot5;

	@TableField(exist = false)
	private String lot6;

	@TableField(exist = false)
	private String lot7;

	@TableField(exist = false)
	private String lot8;

	@TableField(exist = false)
	private String lot9;

	@TableField(exist = false)
	private String lot10;

	@TableField(exist = false)
	private String lot11;

	@TableField(exist = false)
	private String lot12;
	
	@TableField(exist = false)
	private String lot13;
	
	@TableField(exist = false)
	private String lot14;
	
	@TableField(exist = false)
	private String lot15;
	
	@TableField(exist = false)
	private String lot3str;
	
	@TableField(exist = false)
	private String lot9str;
	
	@TableField(exist = false)
	private String lot10str;
			
	@TableField(exist = false)
	private String totray;

	@TableField(exist = false)
	private String tobox;

	@TableField(exist = false)
	private BigDecimal toqty;

    @TableField(exist=false)
    private String uniquecodes;
    
    @TableField(exist=false)
    private String isuniquecode;
    
    @TableField(exist=false)
    private String isconsumable;

    @TableField(exist=false)
	private String jhdh;

	@TableField(exist=false)
	private String chejian;

	@TableField(exist=false)
	private String jiage;
}
